package com.sudo.boot.service.sys_my.converter;

import com.sudo.boot.common.constant.ConstantSys;
import com.sudo.boot.mapper.sys.entity.SysUser;
import com.sudo.boot.mapper.sys.model.bo.my.MyUserBoEdit;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

@Mapper(builder = @Builder(disableBuilder = true), componentModel = ConstantSys.SPRING,unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MyUserConverter {
    SysUser toSysUser(MyUserBoEdit bo);
}